package org.nanotek.service;

import java.util.List;
import java.util.Map;
import java.util.Set;

import javax.ejb.Local;

import org.nanotek.beans.ArtistCredit;
import org.nanotek.beans.ArtistName;

@Local
public interface ArtistService {

	ArtistName findArtistById(Long code); 

	<T extends ArtistName> List<T> loadArtistList(Integer startRecord , Integer numRecords);

	Set<ArtistCredit> findArtistCredits(Long artistId);

	List<Map<String, ?>>  prepareReportResult(List<?> artists);
	
	List<?> findArtistByName(String value);
}
